package com.zzptc.zzsgz.bdsjws.vo;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2017/6/6.
 */
@Entity(
        nameInDb = "dm_mobile",
        indexes = {
                @Index(value = "mobileNumber",unique =true),
                @Index(value = "areaCode",unique = true)
        },
        createInDb = false

)
public class Mobilelnfo {


        @Id
        private  Integer id;
        @Property(nameInDb = "MobileNumber")
        private String mobileNumber;
        @Property(nameInDb = "MobileArea")
        private String mobileArea;
        @Property(nameInDb = "MobileType")
        private String mobileType;
        @Property(nameInDb = "AreaCode")
        private String areaCode;
        @Property(nameInDb = "PostCode")
        private String postCode;
        @Generated(hash = 442344281)
        public Mobilelnfo(Integer id, String mobileNumber, String mobileArea,
                        String mobileType, String areaCode, String postCode) {
                this.id = id;
                this.mobileNumber = mobileNumber;
                this.mobileArea = mobileArea;
                this.mobileType = mobileType;
                this.areaCode = areaCode;
                this.postCode = postCode;
        }
        @Generated(hash = 1378009775)
        public Mobilelnfo() {
        }
        public String getMobileArea() {
                return mobileArea;
        }
        public String getPostCode() {
                return this.postCode;
        }
        public void setPostCode(String postCode) {
                this.postCode = postCode;
        }
        public String getAreaCode() {
                return this.areaCode;
        }
        public void setAreaCode(String areaCode) {
                this.areaCode = areaCode;
        }
        public String getMobileType() {
                return this.mobileType;
        }
        public void setMobileType(String mobileType) {
                this.mobileType = mobileType;
        }
        public void setMobileArea(String mobileArea) {
                this.mobileArea = mobileArea;
        }
        public String getMobileNumber() {
                return this.mobileNumber;
        }
        public void setMobileNumber(String mobileNumber) {
                this.mobileNumber = mobileNumber;
        }
        public Integer getId() {
                return this.id;
        }
        public void setId(Integer id) {
                this.id = id;
        }
}


